package com.xyht.medicine_management_system.modules.order.entity.req;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 订单退款表
 * </p>
 *
 * @author XYHT
 * @since 2023-12-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mms_order_refund")
@ApiModel(value="MmsOrderRefund对象", description="订单退款表")
public class MmsOrderRefundReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "退货记录ID")
    private String id;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "订单id")
    private String orderId;

    @ApiModelProperty(value = "药品信息")
    private String medicineInfo;

    @ApiModelProperty(value = "退货状态(0.待退款 1.已退款 2.退款失败)")
    private Integer status;

    @ApiModelProperty(value = "退款结束时间")
    private Date endTime;

    @ApiModelProperty(value = "退款原因")
    private String reason;

    @ApiModelProperty(value = "流程审批人id")
    private String processApproverId;

    @ApiModelProperty(value = "审批状态(0.待审批 1.通过 2.拒绝)")
    private Integer processApprovalStatus;

    @ApiModelProperty(value = "退款金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "备注信息")
    private String notes;


}
